x86/time: group time stamps into a structure
authorJan Beulich <jbeulich@suse.com>
Thu, 4 Aug 2016 08:07:02 +0000 (10:07 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Aug 2016 08:07:02 +0000 (10:07 +0200)
commit7676077a0a034b297df484af04656012ca271618
tree721a2a8bf97644240062a3f50b2c7c34a30c5e6b
parent6dd04c7579dddb88fd0131ed5eb6fc636095f36c
x86/time: group time stamps into a structure

If that had been done from the beginning, mistakes like the one
corrected in commit b64438c7c1 ("x86/time: use correct (local) time
stamp in constant-TSC calibration fast path") would likely never have
happened.

Also add a few "const" to make more obvious when things aren't expected
to change.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Dario Faggioli <dario.faggioli@citrix.com>
Tested-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/time.c
xen/include/asm-x86/time.h